+Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ Merged from 2.4:
+
+ * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
+ lines. (#142479, Morten Welinder)
+
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
+Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ Merged from 2.4:
+
+ * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
+ lines. (#142479, Morten Welinder)
+
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
+Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ Merged from 2.4:
+
+ * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
+ lines. (#142479, Morten Welinder)
+
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
+Sun May 16 23:11:47 2004 Matthias Clasen <maclas@gmx.de>
+
+ Merged from 2.4:
+
+ * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
+ lines. (#142479, Morten Welinder)
+
Sun May 16 22:27:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkintl.h (Q_): Add a Q_() macro.
xthickness = widget->style->xthickness;
ythickness = widget->style->ythickness;
- digit_height = PANGO_PIXELS (ink_rect.height) + 2;
- digit_offset = ink_rect.y;
-
layout = gtk_widget_create_pango_layout (widget, "012456789");
pango_layout_get_extents (layout, &ink_rect, &logical_rect);
- digit_height = PANGO_PIXELS (ink_rect.height) + 1;
+ digit_height = PANGO_PIXELS (ink_rect.height) + 2;
digit_offset = ink_rect.y;
width = widget->allocation.width;